<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:c="http://java.sun.com/jsp/jstl/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:a4j="http://richfaces.org/a4j"
	xmlns:rich="http://richfaces.org/rich">

<f:view contentType="text/html">

	<h:head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<ui:insert name="title">Titre</ui:insert>
		<link href="../commun_css/styles.css" rel="stylesheet" type="text/css" />
	</h:head>

	<h:body>

		<div id="conteneur">

			<div id="header">
				<img src="../commun_img/page/head.png" width="900" height="200"
					alt="logo " />
			</div>

			<br />
			<ui:include src="../commun_page/menu.xhtml"></ui:include>

			<div id="content">
			
			<c:if test="${manager.messagesPageSize > 0}">
				<div style="margin-right: 20px; width:200px; border:1px solid red; float:right;">
						<c:set var="mess" scope="request" value="#{manager.messagesPage}"></c:set>
						<ul class="err">
							<c:forEach items="#{mess}" var="s">
								<li><h:outputText value="#{s}" />
								</li>
							</c:forEach>
						</ul>
				</div>
			</c:if>
			
				<ui:insert name="body">Corps de page</ui:insert>

				<br /><br /><br /><br /><br /><br /><br /><br />
				<br /><br /><br /><br /><br /><br /><br /><br />

			</div>


		</div>
	</h:body>
</f:view>
</html>
